package com.migo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.migo.dao.PvMgFirmwareLogDao;
import com.migo.entity.PvMgFirmwareLogEntity;
import com.migo.service.PvMgFirmwareLogService;



@Service("pvMgFirmwareLogService")
public class PvMgFirmwareLogServiceImpl implements PvMgFirmwareLogService {
	@Autowired
	private PvMgFirmwareLogDao pvMgFirmwareLogDao;
	
	@Override
	public PvMgFirmwareLogEntity queryObject(Integer logId){
		return pvMgFirmwareLogDao.queryObject(logId);
	}
	
	@Override
	public List<PvMgFirmwareLogEntity> queryList(Map<String, Object> map){
		return pvMgFirmwareLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return pvMgFirmwareLogDao.queryTotal(map);
	}
	
	@Override
	public void save(PvMgFirmwareLogEntity pvMgFirmwareLog){
		pvMgFirmwareLogDao.save(pvMgFirmwareLog);
	}
	
	@Override
	public void update(PvMgFirmwareLogEntity pvMgFirmwareLog){
		pvMgFirmwareLogDao.update(pvMgFirmwareLog);
	}
	
	@Override
	public void delete(Integer logId){
		pvMgFirmwareLogDao.delete(logId);
	}
	
	@Override
	public void deleteBatch(Integer[] logIds){
		pvMgFirmwareLogDao.deleteBatch(logIds);
	}
	
}
